package com.sunday.member.entity.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by 刘涛 on 2017/5/27.
 *
 * 订单列表订单
 */

public class OrderItem implements Serializable {


    /**
     * id : 82
     * createTime : 2609-03-07 12:12:34
     * createDate : 2609-03-07
     * orderNo : CG201705277367289076
     * type : 3
     * totalAmount : 19998.0
     * payAmount : 19198.0
     * payNo : null
     * orderStatus : 2
     * receiveName : 江雄门店
     * receiveMobile : 18968173081
     * receiveAddress : 浙江省杭州市萧山区宁围镇国泰科技大厦2201
     * sendType : null
     * sendAmount : null
     * promotionMsg : null
     * remark :
     * shopId : null
     * shopName : null
     * driverId : null
     * driverName : null
     * driverMobile : null
     * driverCarNo : null
     * driverImage : null
     * payTime : null
     * sendTime : null
     * receiveTime : null
     * products : [{"id":65,"createTime":"2609-03-07 12:12:34","createDate":"2609-03-07","price":9599,"name":"Hasee/神舟 战神 Z7-KP7S1 i7 6G独显gtx1060游戏本笔记本电脑","number":"010002","standard":"5kg/台","num":2,"type":3,"typeStr":"采购商品"}]
     * typeStr : 采购订单
     * orderStatusStr : 待配送
     * sendTypeStr :
     */

    private int isNeedToPay;
    private String orderIds;
    private String info;
    private long id;
    private String createTime;
    private String createDate;
    private String orderNo;
    private int type;
    private BigDecimal totalAmount;
    private BigDecimal payAmount;
    private String payNo;
    private int orderStatus;
    private String receiveName;
    private String receiveMobile;
    private String receiveAddress;
    private Integer sendType;//2:自提
    private BigDecimal sendAmount;
    private String promotionMsg;
    private String remark;
    private Integer shopId;
    private String shopName;
    private Integer driverId;
    private String driverName;
    private String driverMobile;
    private String driverCarNo;
    private String driverImage;
    private String payTime;
    private String sendTime;
    private String receiveTime;
    private String typeStr;
    private String orderStatusStr;
    private String sendTypeStr;
    private List<OrderProduct> products;

    public int getIsNeedToPay() {
        return isNeedToPay;
    }

    public void setIsNeedToPay(int isNeedToPay) {
        this.isNeedToPay = isNeedToPay;
    }

    public String getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(String orderIds) {
        this.orderIds = orderIds;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }


    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceiveMobile() {
        return receiveMobile;
    }

    public void setReceiveMobile(String receiveMobile) {
        this.receiveMobile = receiveMobile;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public Integer getSendType() {
        return sendType;
    }

    public void setSendType(Integer sendType) {
        this.sendType = sendType;
    }

    public BigDecimal getSendAmount() {
        return sendAmount;
    }

    public void setSendAmount(BigDecimal sendAmount) {
        this.sendAmount = sendAmount;
    }

    public String getPromotionMsg() {
        return promotionMsg;
    }

    public void setPromotionMsg(String promotionMsg) {
        this.promotionMsg = promotionMsg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverMobile() {
        return driverMobile;
    }

    public void setDriverMobile(String driverMobile) {
        this.driverMobile = driverMobile;
    }

    public String getDriverCarNo() {
        return driverCarNo;
    }

    public void setDriverCarNo(String driverCarNo) {
        this.driverCarNo = driverCarNo;
    }

    public String getDriverImage() {
        return driverImage;
    }

    public void setDriverImage(String driverImage) {
        this.driverImage = driverImage;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(String receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    public String getOrderStatusStr() {
        return orderStatusStr;
    }

    public void setOrderStatusStr(String orderStatusStr) {
        this.orderStatusStr = orderStatusStr;
    }

    public String getSendTypeStr() {
        return sendTypeStr;
    }

    public void setSendTypeStr(String sendTypeStr) {
        this.sendTypeStr = sendTypeStr;
    }

    public List<OrderProduct> getProducts() {
        return products;
    }

    public void setProducts(List<OrderProduct> products) {
        this.products = products;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }
}
